POV-Ray : Newsgroups : povray.macintosh : OS X and QT : Re: OS X and QT Server Time
1 May 2024 08:50:15 EDT (-0400)
  Re: OS X and QT  
From: gmanas
Date: 6 May 2003 22:20:08
Message: <web.3eb86cdaa6bcae409c54bf6d0@news.povray.org>
Thanks for your help
The slow down in animation seems to be render time. I turned off preview and
I think that speeds it up a bit.  I just turn on animation in the
preferences and everything just crawls. Here is my simple code
// Standard pre-defined colors
//
#include "colors.inc"
#include "stones.inc"
#include "stones1.inc"
#include "stones2.inc"
camera {
    location <40, 30, -150>
    look_at  <0, 8,  12>
    angle 25
  }
  plane { <0, 1, 0>, 0
    texture {
      T_Grnt12  }
  }
light_source { <0, 40000, -50000> color White}

sky_sphere {
    pigment {
      gradient y
      color_map {
        [0.000 0.002 color rgb <0.0, 0.1, 1.0>
                     color rgb <0.1, 0.1, 1.0>]
        [0.002 0.200 color rgb <0.8, 0.1, 1.0>
                     color rgb <0.2, 0.2, 0.9>]
      }
      scale 2
      translate -1
    }
    pigment {
      bozo
      turbulence 0.95
      octaves 6
      omega 0.74
      lambda 2
            color_map {
          [0.0 0.1 color rgb <0.85, 0.85, 0.85>
                   color rgb <0.75, 0.75, 0.75>]
          [0.1 0.5 color rgb <0.75, 0.75, 0.75>
                   color rgbt <1, 1, 1, 1>]
          [0.5 1.0 color rgbt <1, 1, 1, 1>
                   color rgbt <1, 1, 1, 1>]
      }
      scale <0.2, 0.5, 0.2>
    }
    rotate -135*x
  }

#declare wall = difference {
   box {
   <0,0,0>, <3,16,60> }
   box { <2,2,1> , <4,14,19> }
    box { <2,2,21> , <4,14,39> }
     box { <2,2,41> , <4,14,58> }
   texture {
      T_Stone8     // Pre-defined from stones.inc
      scale .25}       // Scale by the same amount in all
   }

#declare bracket =  union {
   box {
    <-16,0,  0>,  // Near lower left corner
    < 16,3,  8>   // Far upper right corner
     }
     box {
    <-1.5,-1.5,  0>,  // Near lower left corner
    < 1.5,1.5,  8>   // Far upper right corner
     rotate z*45
    translate <-10,3,0>}

    box {
    <-1.5,-1.5,  0>,  // Near lower left corner
    < 1.5,1.5,  8>   // Far upper right corner
     rotate z*45
    translate <10,3,0>}

  difference {
    box {
    <-13,3,  0>,  // Near lower left corner
    < -10,18,  8>   // Far upper right corner
    }
   cylinder {
    <-13, 18, 0>,     // Center of one end
    <-13, 18, 8>,     // Center of other end
    2            // Radius
    open }
   }
  difference {
   box {
    <10,3,  0>,  // Near lower left corner
    < 13,18,  8>   // Far upper right corner
    }
    cylinder {
    <13, 18, 0>,     // Center of one end
    <13, 18, 8>,     // Center of other end
    2            // Radius
    open }
   }
   texture {
      T_Stone8     // Pre-defined from stones.inc
      scale .25       // Scale by the same amount in all
    }
   //rotate y*15
}

#declare lid =
   union {
    box {
    <-16,0,  0>,  // Near lower left corner
    < 16,1.25,  30> }  // Far upper right corner
    box {
     <-13, 0, 0>, <13,-.75, 30> }
   texture {
      T_Stone8     // Pre-defined from stones.inc
      scale .25 }
}

#declare cable =
    union  { cylinder {
    <0, 0, -20>,     // Center of one end
    <0, 0, 300>,     // Center of other end
   1 open texture {
      pigment { color Gray } } }
    cylinder {
    <0, 0, -20>,     // Center of one end
    <0, 0, 300>,     // Center of other end
   .5  texture {
      pigment { color Yellow } } }
   }

object {bracket  translate <0,100,0>  translate <0, -100*clock,0>}
object {bracket    translate <0,200,60> translate <0, -100*clock,0>}
object {bracket    translate <0,300,120> translate <0, -100*clock,0>}
object {bracket    translate <0,400,180> translate <0, -100*clock,0>}
object {bracket    translate <0,500,240> translate <0, -100*clock,0>}
Christopher James Huff wrote:
>In article <web.3eb7b830119ef85d2f48a4160[at]news.povray.org>,
> "gmanas" <gsc### [at] fusenet> wrote:
>
>> Hi, I am new to POV and just learing how all this works and having a
>> fantastic time. I am quite amazed that such a package exists.  All of you
>> should be commended. I do have two questions.   1) is there going to be a
>> fix to the OS 10.2.4 file open bug?  Right now I just open my file in
>> TextEdit copy and paste it to a new POV window.  I know this can't hold me
>> forever as my projects grow.
>
>If you want a fix right now, you could just get MacMegaPOV from:
>http://users.skynet.be/smellenbergh/
>
>
>> 2) when I render a static scene it goes
>> fairly fast, just a few seconds.  My scenes are simple right now.  I was
>> trying to create a simple animation using clock but find that once I turn
>> on animation the render time goes to hours.  I am doing something wrong?
>
>Simply turning on animation should not have that effect on frame render
>times. What are you doing that is dependant on the clock variable? Is it
>just the render time that increases, or is it really the parse time?
>Does it happen on the very first frame, or only on subsequent ones? Does
>it get worse with each frame?
>
>Christopher James Huff <cja### [at] earthlinknet>
>http://home.earthlink.net/~cjameshuff/
>POV-Ray TAG: chr### [at] tagpovrayorg
>http://tag.povray.org/
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.